<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConditionPreviewExport.aspx.cs" Inherits="crm_cell_condition_ConditionPreviewExport" %>

<%@ Register TagPrefix="sap" TagName="header" Src="../../../pub/crm/include/header.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<sap:header id="header" Runat="server"></sap:header>
<script type="text/javascript" language="JavaScript" src="../../../pub/crm/js/calendar_cn.js"
    charset="gb2312"></script>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="bg-head">
   <tr><td width="6">
   <img src="../../../pub/crm/images/main_top_left.gif" width="6" height="20"></td>
   <td class="head1">Data Loading</td>
   <td width="6">
   <img src="../../../pub/crm/images/main_top_right.gif" width="6" height="20"></td>
   </tr></table>
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr class="query_title">
   <td width="15%" height="25">
       Condition Name</td>
        <td width="35%">
        <asp:textbox id="con_name" runat="server"  class="input-text" ></asp:textbox></td>
        <td width="15%">
            Create Date</td>
        <td colspan="3" width="35%">
        <asp:TextBox ID="con_date" runat="server" class="input-date" onFocus="setday(this)" onkeypress="return false;" onselectstart="return false;"></asp:TextBox></td>
    </tr>
    <tr class="query_title">
        <td style="text-align: right" colspan="6">
            <asp:button ID="seerchbutton" runat="server"  class= "myBtn"  Text="Search" OnClick="Button1_Click" ></asp:button>
            </td>
    </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr><td height="2">
   <img src="../../../images/c.gif" width="1" height="1"></td>
   </tr></table>

		<table width="100%" border="0" cellspacing="0" cellpadding="0">
           <tr><td>
            <asp:GridView ID="GridView1" runat="server"  ShowFooter="true" AllowPaging="True" AutoGenerateColumns="False"  width="100%"  border="0" cellspacing="1" cellpadding="0"
             DataKeyNames="ccp_id"  PageSize="10" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound" OnRowEditing="GridView1_RowEditing" >
            <FooterStyle CssClass="dg_footer"/>
            <Columns>
        <asp:BoundField DataField="ccp_id" HeaderText="ID" SortExpression="ccp_id"  ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Center"/>
        <asp:BoundField DataField="ccp_condition_name" HeaderText="condition name" SortExpression="ccp_condition_name" />
        <asp:BoundField DataField="ccp_preview_date" HeaderText="Create Date" SortExpression="ccp_preview_date" />
          <asp:TemplateField HeaderText="Data Export" ItemStyle-Width="25%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:label ID="labexportimg" runat="server" ></asp:label>
                        </ItemTemplate>
         </asp:TemplateField>

    </Columns>
    <PagerStyle CssClass="dg_pager"/>
    <HeaderStyle CssClass="dg_header"/>
    <AlternatingRowStyle CssClass="dg_alternating"/>
    <RowStyle CssClass="dg_item" />
</asp:GridView>
</td></tr></table> 



    </form>
</body>
</html>
